package com.gagakuai;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//@SpringBootApplication
public class GagakuaiVendingmachineApplication {


    public static int power(int k) {
        
        
        if(k == 0){
            return  1;
        }else {
            return  2 * power(k - 1);
        }
    }

    public static void main(String[] args) {

        System.out.println(power(2));
        /*SpringApplication.run(GagakuaiVendingmachineApplication.class, args);*/
    }

}
